package com.ghyf.mplay.datatype;

/**
 * 时钟枚举类型
 * 
 * @author 陈小红
 * 
 */

public enum ClockType {
	// 时钟类型枚举定义：0=数字时钟，1=模拟时钟
	DIGITALCLOCK("数字时钟", 0), SIMULATECLOCK("模拟时钟", 1);

	private String name;	//枚举类型名称
	private int value;	//枚举类型值

	private ClockType(String name, int value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

}